<!DOCTYPE html>
<html lang="en">
<head>

    <title>驾驶员信息管理</title>
    <meta charset="UTF-8"/>
    <script src="../../../../../miniUI/scripts/boot.js"></script>
</head>
<style>
    body{
        margin:0;padding:0;border:0;width:100%;height:100%;overflow:hidden;
    }
</style>
<body>
<div class="mini-fit" style="width:100%;height:100%;">

    <div showCollapseButton="true">
        <div class="mini-toolbar"  style=" padding:2px;border-top:0;border-left:0;border-right:0;">

            <a class="mini-button" iconCls="icon-add" plain="true" onclick="addRow()">增加</a>
            <a class="mini-button" iconCls="icon-edit" plain="true" onclick="editRow()">编辑</a>
            <a class="mini-button" iconCls="icon-remove" plain="true" onclick="removeRow()">删除</a>
            <a class="mini-button" iconCls="icon-upload" plain="true" onclick="upload()">上传</a>
            <a class="mini-button" iconCls="icon-download" plain="true" onclick="download()">下载</a>
            <a class="mini-button" iconCls="icon-print" plain="true" onclick="print()">打印</a>
            <a style="float:right;" class="mini-button" iconCls="icon-reload" plain="true" onclick="refresh()">刷新</a>
            <span class="separator"></span>

        </div>

        <fieldset style="width:100%;border:solid 1px #aaa;margin-top:8px;position:relative;">
            <form id="form1">
                <div id="editForm1" style="padding:5px;width: 100%;">
                    <input class="mini-hidden" name="id"/>
                    <table style="width:100%;">
                        <tr style="width:100%;">
                            <td style="width:80px;">驾驶员编码:</td>
                            <td style="width:250px;"><input id="loginname" name="carName" class="mini-buttonedit" style="width:100%;" /></td>
                            <td style="width:80px;">驾驶员姓名:</td>
                            <td style="width:250px;"><input id="carType" name="carType" valueField="id" textField="text" class="mini-combobox" style="width:100%;" /></td>
                            <td style="width:80px;">车辆状态:</td>
                            <td style="width:250px;"><input name="carState" class="mini-combobox" style="width:100%;" /></td>

                        </tr>
                        <tr>
                            <td style="width:80px;">可乘坐人数:</td>
                            <td style="width:250px;"><input id="salary" name="salary" class="mini-combobox" style="width:100%;" /></td>
                            <td style="width:80px;"></td>
                            <td style="width:80px;text-align: right;">

                            </td>
                            <td style="width:80px;">

                            </td>
                            <td style="width:80px;text-align: right;">
                                <button style="width:80px;" onclick="find"  class="mini-button">查询</button>
                                <button style="width:80px;" onclick="clean" class="mini-button" >重置</button>
                            </td>

                        </tr>
                    </table>
                </div>
            </form>
        </fieldset>

    </div>
    <div id="grid1" class="mini-datagrid" style="width:100%;height:100%;" borderStyle="border:0;"
         multiSelect="true"
         allowCellSelect="true"
         showPager="true"
         showPageSize="false"
         pageIndex="0"
         pageSize="2">
        <div property="columns">
            <div type="checkcolumn"></div>
            <div field="driverInfoId" width="120" headerAlign="center" allowSort="true">驾驶员编码

            </div>
            <div field="createdBy" width="120" headerAlign="center" allowSort="true">创建人


            </div>
            <div field="createdTime" width="100" allowSort="true" renderer="onGenderRenderer" align="center" headerAlign="center">创建时间

            </div>
            <div field="driver_state" width="100" allowSort="true">驾驶员状态

            </div>
            <div field="userId" width="100" allowSort="true" >用户id

            </div>
            <div field="carBuyDate" width="100" headerAlign="center" dateFormat="yyyy-MM-dd" allowSort="true">驾驶员名称</div>
            <div field="carPlateNumber" width="120" headerAlign="center" allowSort="true">联系方式


            </div>
            <div field="carType" width="120" headerAlign="center" allowSort="true">邮箱


            </div>
            <!--<div field="carColor" width="120" headerAlign="center" allowSort="true">车身颜色-->


            <!--</div>-->
            <!--<div field="carAnnual_date" width="100" allowSort="true">年检日期-->

            <!--</div>-->
            <!--<div field="carEnineNumbegr" width="100" allowSort="true">发动机号-->

            <!--</div>-->
            <!--<div field="carEngineInfo" width="100" allowSort="true">发动机信息-->

            <!--</div>-->

        </div>
    </div>
</div>
</div>

</body>
</html>
<script src="./js/DriverList.js"></script>



